home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Core Concepts in Art 2
/
Core Concepts in Art (Frames of Reference)(The McGraw-Hill Companies)(2004).iso
/
mac
/
media
/
create.swf
/
scripts
/
DefineButton2_20
/
BUTTONCONDACTION on(release).as
Wrap
Text File
|
2003-11-06
|
528b
|
25 lines
on(release){
if(_root._ymouse > scroll_btn._y + 214)
{
if(scroll_btn._y < 160 - scroll_btn._height)
{
scroll_btn._y += scroll_btn._height;
_parent.holder_mc._y -= 20;
}
else
{
scroll_btn._y = 163 - scroll_btn._height;
}
}
else if(scroll_btn._y > 3)
{
scroll_btn._y -= scroll_btn._height;
_parent.holder_mc._y += 20;
}
else
{
scroll_btn._y = 3;
}
_parent._parent._parent.scrollPos = this._y;
}